package com.hue.springcloud.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/*
    统一处理服务降级
 */
public class CustomerBlockHandler {
    public static String handler1(BlockException exception){
        return "自定义的统一的降级处理---1";
    }

    public static String handler2(BlockException exception){
        return "自定义的统一的降级处理---2";
    }
}
